Home:ALL Converter>Angular 14 the compiler generates all the cache files over again on saving change

Angular 14 the compiler generates all the cache files over again on saving change

Ask Time:2022-11-06T20:54:29         Author:Maen Mulhem

Json Formatter

After upgrading the project from Angular 11 into 14, the compiler starts to generate the cache file again and again when I save any file. I noticed there was a discussion about it in [Angular 13](https://github.com/angular/angular-cli/issues/22323) however it should work properly now.

Minimal Reproduction

Ctrl + Save

Your Environment

_                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/


Angular CLI: 14.2.8
Node: 19.0.0 (Unsupported)
Package Manager: npm 8.19.2
OS: win32 x64

Angular: 14.2.8
... animations, cli, common, compiler, compiler-cli, core
... elements, forms, localize, platform-browser
... platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1402.8
@angular-devkit/build-angular   14.2.8
@angular-devkit/core            14.2.8
@angular-devkit/schematics      14.2.8
@angular/cdk                    14.2.6
@angular/material               14.2.6
@schematics/angular             14.2.8
rxjs                            7.5.7
typescript                      4.8.4

I tried upgrading from angular 11 to 14 and I expected that would not prevent me from developing things in a fast way. The compiler takes too long time to finish its job now.

Author:Maen Mulhem,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/74336015/angular-14-the-compiler-generates-all-the-cache-files-over-again-on-saving-chang
yy